<?php
/* @var $this CabinetController */
/* @var $dataProvider CActiveDataProvider */
$this->widget('bootstrap.widgets.TbBreadcrumbs',array(
	'links'=>array(
		'Cabinets'=>array('admin')
	),
));

$this->menu=array(
	array('label'=>'Operations'),
	array('label'=>'Create Cabinet', 'icon'=>'star', 'url'=>array('create')),
	array('label'=>'View Cabinet', 'icon'=>'eye-open', 'url'=>'#', 'disabled'=>true),
	array('label'=>'Update Cabinet', 'icon'=>'pencil', 'url'=>'#', 'disabled'=>true),
	array('label'=>'Delete Cabinet', 'icon'=>'trash', 'url'=>'#', 'disabled'=>true),
	array('label'=>'Manage Cabinets', 'icon'=>'cog', 'url'=>array('admin')),
	array('label'=>'List Cabinets', 'icon'=>'th-list', 'url'=>'#', 'active'=>true),
);
?>
<div class="row">
	<div class="span9">
		<div style="padding: 10px;">
<h2>Cabinets</h2>

<?php $this->widget('bootstrap.widgets.TbListView',array(
	'dataProvider'=>$dataProvider,
	'itemView'=>'_view',
)); ?>
		</div>
	</div>
	<div class="span3">
	<?php
		$this->beginWidget('zii.widgets.CPortlet', array(
			'title'=>'Administration',
		));
		$this->widget('bootstrap.widgets.TbMenu',array(
			'type'=>'list',
			'items'=>$this->menu,
		));
		$this->endWidget();
	?>
	</div>
</div>